import request from '@/router/axios';

export const saveI = (itemId,isLinkSms,isResultSms) => {
    return request({
        url: '/api/vingsoft-acceptance/servExtend/save',
        method: 'post',
        params: {
            itemId,
            isLinkSms,
            isResultSms
        }
    })
};


export const updateI = (id,itemId,isLinkSms,isResultSms) => {
    return request({
        url: '/api/vingsoft-acceptance/servExtend/update',
        method: 'post',
        params: {
            id,
            itemId,
            isLinkSms,
            isResultSms
        }
    })
};
export const selectitemId = (itemId) => {
    return request({
        url: '/api/vingsoft-acceptance/servExtend/selectitemId',
        method: 'post',
        params: {
            itemId
        }
    })
};

export const submit = (row) => {
    return request({
        url: '/api/vingsoft-acceptance/servExtend/submit',
        method: 'post',
        data: row
    })
};
